/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.biz.entity;

import com.thinkgem.jeesite.modules.sys.entity.User;
import org.hibernate.validator.constraints.Length;

import com.thinkgem.jeesite.common.persistence.DataEntity;

/**
 * 订单管理Entity
 * @author admin
 * @version 2019-07-30
 */
public class BizOrder extends DataEntity<BizOrder> {
	
	private static final long serialVersionUID = 1L;
	private Long orderNo;		// 订单编号
	private User user;		// 用户编号
	private Long machineId;		// 机器编号
	private String payStatus;		// 支付状态
	private String payType;		// 支付类型
	private Long payTime;		// 支付时间
	private String payAcount;		// 支付账号
	private String payTotalMoney;		// 支付金额
	
	public BizOrder() {
		super();
	}

	public BizOrder(String id){
		super(id);
	}

	public Long getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(Long orderNo) {
		this.orderNo = orderNo;
	}
	
	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}
	
	public Long getMachineId() {
		return machineId;
	}

	public void setMachineId(Long machineId) {
		this.machineId = machineId;
	}
	
	@Length(min=0, max=5, message="支付状态长度必须介于 0 和 5 之间")
	public String getPayStatus() {
		return payStatus;
	}

	public void setPayStatus(String payStatus) {
		this.payStatus = payStatus;
	}
	
	@Length(min=0, max=5, message="支付类型长度必须介于 0 和 5 之间")
	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType;
	}
	
	public Long getPayTime() {
		return payTime;
	}

	public void setPayTime(Long payTime) {
		this.payTime = payTime;
	}
	
	@Length(min=0, max=255, message="支付账号长度必须介于 0 和 255 之间")
	public String getPayAcount() {
		return payAcount;
	}

	public void setPayAcount(String payAcount) {
		this.payAcount = payAcount;
	}
	
	public String getPayTotalMoney() {
		return payTotalMoney;
	}

	public void setPayTotalMoney(String payTotalMoney) {
		this.payTotalMoney = payTotalMoney;
	}
	
}